﻿<System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "4.0.30319.1"), _
 System.SerializableAttribute(), _
 System.ComponentModel.DesignerCategoryAttribute("code"), _
 System.Xml.Serialization.XmlRoot("XML"), _
 System.Xml.Serialization.XmlTypeAttribute(AnonymousType:=True)> _
Public Class Comanda

    Private _CodigoComanda As Integer
    Private _CodigoTerminal As Integer
    Private _CodigoCaixa As Integer
    Private _CodigoIngresso As Integer
    Private _ListaPedido As List(Of Pedido)
    Private _ValorComanda As Double
    Private _DataComanda As DateTime
    Private _HoraAbertura As DateTime
    Private _HoraFechamento As DateTime

    <System.Xml.Serialization.XmlElementAttribute("COD_COM")> _
    Public Property CodigoComanda() As Integer
        Get
            Return _CodigoComanda
        End Get
        Set(ByVal value As Integer)
            _CodigoComanda = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("COD_TER")> _
    Public Property CodigoTerminal() As Integer
        Get
            Return _CodigoTerminal
        End Get
        Set(ByVal value As Integer)
            _CodigoTerminal = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("COD_CX")> _
    Public Property CodigoCaixa() As Integer
        Get
            Return _CodigoCaixa
        End Get
        Set(ByVal value As Integer)
            _CodigoCaixa = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("COD_ING")> _
    Public Property CodigoIngresso() As Integer
        Get
            Return _CodigoIngresso
        End Get
        Set(ByVal value As Integer)
            _CodigoIngresso = value
        End Set
    End Property

    <System.Xml.Serialization.XmlIgnore()> _
    Public Property ListaPedido() As List(Of Pedido)
        Get
            Return _ListaPedido
        End Get
        Set(ByVal value As List(Of Pedido))
            _ListaPedido = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("VAL_COM")> _
    Public Property ValorComanda() As Double
        Get
            Return _ValorComanda
        End Get
        Set(ByVal value As Double)
            _ValorComanda = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("DATA_COM")> _
    Public Property DataComanda() As DateTime
        Get
            Return _DataComanda
        End Get
        Set(ByVal value As DateTime)
            _DataComanda = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("HORA_ABER")> _
    Public Property HoraAbertura() As DateTime
        Get
            Return _HoraAbertura
        End Get
        Set(ByVal value As DateTime)
            _HoraAbertura = value
        End Set
    End Property

    <System.Xml.Serialization.XmlElementAttribute("HORA_FECH")> _
    Public Property HoraFechamento() As DateTime
        Get
            Return _HoraFechamento
        End Get
        Set(ByVal value As DateTime)
            _HoraFechamento = value
        End Set
    End Property

End Class
